package org.com.FeignFallback;

import Entity.Postlike;
import lombok.extern.slf4j.Slf4j;
import org.com.FeignClient.PostlikeFeign;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@Slf4j
@Component
public class PostlikeFeignFallback implements PostlikeFeign {

    @Override
    public Boolean save( Postlike postlike) {
        log.info("postlike.save熔断处理");
        return false;
    }

    @Override
    public Boolean down(Postlike postlike) {
        return null;
    }

    @Override
    public String deletebyid(Postlike postlike) {
        return "";
    }
}
